package com.rigsofrods.truckeditor.rig;

import java.awt.datatransfer.Transferable;
import java.io.Serializable;

import javax.swing.tree.TreeNode;

public interface ITruckTreeNode extends TreeNode, Transferable, Serializable, Cloneable {
	
	/** Text representation of this truck element as in a truck file.
	 * @return String
	 */
	public String getText();
	public enum SectionType{
		SINGLE_LINE_COMMAND,
		ONELINE_SECTION,
		MULTI_LINE_SECTION,
		SECTION_HEADER
	}
	abstract public SectionType getSectionType();
	//public ITruckTreeNode createInstance(String text);
	/*Text will only be used upon construction. No later change allowed as it can't change class of an object if necessary.*/
	//public void setText(String text);
}